<?php
namespace app\admin\controller;
use \think\Controller;
use \app\admin\model\Money;
use \think\Cookie;
use think\Session;
class Moneys extends Controller
{
    public function _initialize(){
        if(!isLogin()){
            $this->redirect('/trade/login');
        }
    }
    public function index()
    {
        $money=new Money;
        $res=$money->getPage();
        $this->assign('money',$res);
        $this->assign('money_menu','true');
        return $this->fetch('list');
    }


}
